/* subPackages/packageA/debotrDetail/debtorDet.wxss */
.debtor-detail {
  background-color: #f6f6f6;

  .content {
    flex: 1;
    overflow: hidden;
    padding-bottom: 30px;
  }

  .block {
    width: 750rpx;
    padding: 10px 30rpx;
    box-sizing: border-box;
    margin-bottom: 5px;
    background-color: #fff;
  }

  .business-info-block {
    .title {
      align-items: flex-start;

      .name {
        color: #1D2129;
        font-size: 30rpx;
        font-weight: 500;
        line-height: 22px;
        padding-bottom: 4px;
      }

      .line {
        width: 1px;
        height: 12px;
        background-color: #86909C;
        margin: 0 20rpx;
      }

      .code {
        color: #86909C;
        font-size: 24rpx;
        line-height: 12px;
        // padding-left: 10px;
        // margin-left: 10px;
      }

      .name-list {
        padding: 6px 0;
        height: 0;
        transition: all 0.3s ease;
        opacity: 0;

        .o-name {
          color: #666;
          font-size: 24rpx;
          display: block;
          line-height: 18px;
        }
      }

      .name-list.is-show {
        height: auto;
        opacity: 1;
      }
    }

    .business-scope {
      border-radius: 5px;
      background: #F4F6FA;
      padding: 6px 10px;

      .scope-desc {
        font-size: 26rpx;
        color: #353A48;
        line-height: 20px;

        .label {
          color: #666;
        }

        .scope {
          user-select: text;
        }

        .fold-txt {
          color: #3375F5;
          white-space: nowrap;
        }
      }

      .line {
        width: 100%;
        height: 1px;
        background-color: #EDEFF3;
        margin: 8px 0;
      }

      .scope-info {
        width: 100%;
        padding: 0 14px;
        box-sizing: border-box;

        .item {
          font-size: 26rpx;
          line-height: 20px;
          text-align: center;

          .label {
            color: #666;
            display: block;
          }

          .value {
            display: block;
            color: #1D2129;

            &.blue {
              color: var(--td-brand-color);
              font-weight: 500;
            }
          }
        }
      }
    }
  }

  .contact-info-block {
    .icon {
      width: 34rpx;
      height: 34rpx;
      margin-right: 4px;
    }

    .icon-email {
      width: 28rpx;
      height: 28rpx;
      margin-right: 1px;
    }

    .row-1 {
      color: #3375F5;

      .column {
        .icon {
          flex-shrink: 0;
          width: 32rpx;
          height: 32rpx;
        }

        .txt {
          white-space: nowrap;
        }

        .email-tag {
          border-radius: 3px;
          // background: #F4F6FA;
          margin-left: 10px;
          flex-shrink: 0;
        }
      }

    }

    .row-2 {
      color: #333;
      font-size: 26rpx;
      margin-top: 6px;
      align-items: flex-start;

      .icon {
        flex-shrink: 0;
        width: 32rpx;
        height: 32rpx;
      }

      .txt {
        line-height: 32rpx;
      }
    }
  }

  .sta-block {
    width: 750rpx;
    overflow: hidden;
    padding: 14rpx 14rpx 14rpx 30rpx;
    box-sizing: border-box;

    .sta-name {
      width: 18px;
      height: 62px;
      border-radius: 3px;
      background: #F4F6FA;
      color: var(--td-brand-color);
      font-size: 24rpx;
      line-height: 26rpx;
      text-align: center;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      .lr {
        writing-mode: vertical-lr;
      }
    }

    .scroll-items {
      flex: 1;
      height: 62px;
      overflow: hidden;

      .item {
        padding: 10px;
        border-radius: 3px;
        background: #F4F6FA;
        min-width: 170rpx;
        height: 62px;
        margin-left: 6px;
        box-sizing: border-box;
        flex-shrink: 0;

        .icon {
          width: 46rpx;
          height: 46rpx;
          margin-right: 16rpx;
          flex-shrink: 0;
        }

        .type-name {
          color: #1D2129;
          font-size: 28rpx;
          font-weight: 500;
          line-height: 19px;
          white-space: nowrap;
        }

        .num-txt {
          flex-wrap: nowrap;
          color: #86909C;
        }

        .desc {
          color: #86909C;
          font-size: 24rpx;
          line-height: 17px;
          white-space: nowrap;
          margin-right: 2px;
        }

        .num {
          color: #3375F5;
          font-size: 24rpx;
          line-height: 17px;
          white-space: nowrap;
        }
      }
    }
  }

  .partner-employee.block {
    padding: 0;

    .sta-name {
      .lr {
        letter-spacing: 3px;
      }

    }
  }

  .partner-block {
    .scroll-items {
      .items-box {
        .item {
          padding: 7px 10px;

          .first-name {
            width: 60rpx;
            height: 60rpx;
            border-radius: 3px;
            background: #91A8DE;
            font-size: 40rpx;
            color: #fff;
            line-height: 60rpx;
            text-align: center;
            margin-right: 10rpx;
            flex-shrink: 0;
          }

          .row-name {
            height: 60rpx;

            .type-name {
              line-height: 16px;
              font-size: 24rpx;
            }

            .stock-type {
              width: fit-content;
              height: 12px;
              border-radius: 3px 0px;
              background: #F53F3F;
              color: #fff;
              padding: 0 3px;
              font-size: 16rpx;
              line-height: 12px;
            }
          }

          .num-txt {
            font-size: 20rpx;
            line-height: 14px;
            margin-top: 3px;

            .desc {
              font-size: 20rpx;
            }

            .num {
              font-size: 20rpx;
              color: #1D2129;
            }
          }
        }
      }
    }
  }

  .partner-block.employee {
    .sta-name {
      height: 52px;
    }

    .scroll-items {
      height: 52px;

      .items-box {
        .item {
          // width: 228rpx;
          height: 52px;
          padding: 11px 10px;

          .first-name.other {
            background: #DEC091;
          }

          .row-name {
            .num-txt {
              width: 120rpx;
              margin-top: 0;
            }
          }
        }
      }
    }
  }

  .tabs-bar {
    height: 96rpx;

    &.hidden {
      display: none;
    }

    &.is-sticky {
      border: 1px solid #EDEFF3;
      position: fixed;
      z-index: 20000;
      top: 90px;
      left: 0;
      right: 0;
    }

    .tab {
      border-radius: 3px;
      background: #F7F8FA;
      color: #1D2129;
      font-size: 32rpx;
      line-height: 22px;
      padding: 3px 10px;
      margin-right: 20rpx;

      &.active {
        color: var(--td-brand-color);
        background: #E8F3FF;
      }
    }
  }

  .tab-content {
    padding: 0;

    .title {
      color: #333;
      font-size: 30rpx;
      font-weight: 500;
      width: 690rpx;
      height: 42px;
      line-height: 42px;
      padding: 0 30rpx;
    }

    .c-list {
      width: 750rpx;

      .row {
        width: 750rpx;
        border-top: 1px solid #EDEFF3;
        padding-right: 15rpx;
        box-sizing: border-box;
      }

      .item-wrap {
        width: 25%;
        padding: 7px 0 18px 0;

        .item {
          width: 100%;
          height: 68px;
          border-right: 1px solid #EDEFF3;
          position: relative;
          padding: 17px 30rpx;
          box-sizing: border-box;
          text-align: center;

          .icon {
            width: 48rpx;
            height: 48rpx;
          }

          .name {
            font-size: 28rpx;
            line-height: 15px;
          }

          .num {
            font-size: 28rpx;
            position: absolute;
            top: 0;
            right: 8px;
            color: #0C86DE;

            &.shesu {
              color: #F04040;
            }

            &.risk {
              color: #F68628;
            }
          }
        }

        .item.default {
          .num {
            color: #999;
          }
        }
      }
    }
  }
}

.footer {
  height: 49px;
  width: 750rpx;
  background-color: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  .btn {
    width: 50%;
    height: 100%;

    &.left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: #4E5969;
      line-height: 14px;
      font-size: 20rpx;
    }

    &.right {
      justify-content: center;
      background-color: var(--td-brand-color);
      color: #fff;
      font-size: 32rpx;
      border-radius: 0;
    }
  }
}